home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 32
/
Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso
/
Aminet
/
comm
/
tcp
/
Socks5.lha
/
Socks5
/
src
/
Amiga.Changes
Wrap
Text File
|
1998-08-03
|
1KB
|
28 lines
The Socks5 source for the most part compiles and runs without change
for the Amiga. However, I had to comment out a line in validate.c or
else it would blow up on me upon exit. It seems to be a memory usage
problem, the routine was allocating the wrong amount of memory. The
program seems to run fine without it. I don't know if it is related
to the udp problem or not.
void ReadConfig(void) {
char *file;
static int mi = 0;
if (mi == 0) {
mi++;
IFTHREADED(MUTEX_SETUP(confid_mutex);)
}
MUTEX_LOCK(env_mutex);
file = getenv("SOCKS5_CONFFILE");
if (file) file = strdup(file);
MUTEX_UNLOCK(env_mutex);
if (!file) file = strdup(SRVCONF_FILE);
S5LogUpdate(S5LogDefaultHandle, S5_LOG_DEBUG(10), 0, "Config: Reading config file: %s", file);
/* lsSetupIntfcs(&intfcs, &ifcnt); */ <--- here it is
This routine is supposed to read in the names of all the net interfaces, which
it does incorrectly. Commenting it out doesn't seem to cause any errors.